<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>分配角色</title>
    <link rel="stylesheet" type="text/css" href="layui/css/layui.css" th:href="@{/static/layui/css/layui.css}">
    <link href="static/css/public.css" th:href="@{/static/css/public.css}" media="all" type="text/css" rel="stylesheet"/>
</head>
<body class="childrenBody">
    <form class="layui-form" action="#">
        <div class="layui-form-item">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-inline">
                <input type="hidden" name="userId" class="userId" >
                <input type="text" name="username" placeholder="用户名" class="layui-input layui-disabled username" disabled >
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">角色</label>
            <div class="layui-input-block roleList"></div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="*">提交</button>
                <button type="button" class="layui-btn layui-btn-primary cancel_btn">取消</button>
            </div>
        </div>
    </form>
</body>
<script type="text/javascript" src="static/layui/layui.js"  th:src="@{/static/layui/layui.js}"></script>
<script type="text/javascript" src="static/js/allotRole.js"  th:src="@{/static/js/allotRole.js}"></script>

</html>